package com.my.chapter9;

public class practice13 {
    public static void main(String[] args) {
        P13 p =new P13();
        p.f();
    }
}

interface A {
    void f();
}

interface B extends A{
    void f();
}

interface C extends A{
    void f();
}

interface D extends B,C{
    void f();
}

class P13 implements D{

    @Override
    public void f() {
        System.out.println(this+".f()");
    }
}



